﻿using System;
using MoonSharp.Interpreter;

// Token: 0x020002AF RID: 687
public class AIWeaponFireEvent : IEvent
{
	// Token: 0x06000F34 RID: 3892 RVA: 0x00073F47 File Offset: 0x00072147
	public AIWeaponFireEvent(EntityBase entity)
	{
		this.entity = entity;
		this.code = EventCode.OnAIWeaponFire;
	}

	// Token: 0x06000F35 RID: 3893 RVA: 0x00073F64 File Offset: 0x00072164
	public override DynValue GetLuaData()
	{
		if (this.data == null)
		{
			this.data = DynValue.NewPrimeTable();
			this.data.Table.Set("entity", DynValue.FromObject(null, this.entity.GetLuaEntity()));
		}
		return this.data;
	}

	// Token: 0x0400142B RID: 5163
	public EntityBase entity;
}
